Allow vc-git-clone to check-out arbitrary revisions
authorPhilip Kaludercic <philipk@posteo.net>
Tue, 27 Feb 2024 09:32:08 +0000 (10:32 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Tue, 27 Feb 2024 09:32:33 +0000 (10:32 +0100)
commitb59d7094b6cb1a09f46f933807e9cd00a8bd1547
treefca1daee129e218a12ad92a5c50453202bdea97e
parent32b4f9d21b14190f1ed1611515751abe4b90fa68
Allow vc-git-clone to check-out arbitrary revisions

* lisp/vc/vc-git.el (vc-git-clone): If "git clone --branch"
fails, then clone the repository regularly and checkout the
requested revision.
lisp/vc/vc-git.el